home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
wnostray
/
wnostray.txt
< prev
Wrap
Text File
|
1997-11-16
|
2KB
|
57 lines
wnosTray is an OCX which lets you place an icon in the system tray.
This OCX was written completely in VB5, and supports left and right clicks
and double-clicks, as well as a "flashing" action which makes having blinking
icons in the systray a snap!
wnosTray is Copyright ⌐1997 Jeffrey E. Szymona All Rights Reserved.
You are permitted to use wnosTray in any application, as well as distribute
the OCX file with your installation royalty-free, provided you do not take
personal credit for wnosTray, or alter the OCX file in any way.
Please e-mail me with any comments about wnosTray, and especially if you
discover any problems or have any suggestions for additions to the features
already here. Thanks!
E-mail: grendel@epix.net
wnosTray Homepage: http://www.epix.net/~grendel/vb/wnosTray.html
Special Features
----------------
Flash
Type: Boolean
Flash allows you to make your system tray icon "flash" or blink.á When set
to True, it takes the value of the Interval property and flashes the icon
on and off at that rate. When Flash is set False, the icon is always
restored, so there's no worry about leaving a blank icon in the system tray!
SmartClick
Type: Boolean
SmartClick is a fancy property of wnosTray.ocx. If you've ever noticed, most
custom controls fire a Click event in the process of firing a double-click
event.á While this might not matter in most application, you still might wish
to have separate events firing for each when using a system tray icon.á With
SmartClick, you can set the trayicon to only fire a double-click event on a
double-click, allowing you this ability.
Other Properties
----------------
Visible
Type: Boolean
Returns/sets whether the icon is in the system tray.
LeftClick, LeftDoubleClick, RightClick, RightDoubleClick
Type: Event
You can place any code you want executed on these events here.
ToolTipText
Type: String
Returns/sets the tooltip that appears when the mouse is over the icon.
Interval
Type: Integer
Returns/sets the rate at which an icon flashes, if Flash is set to True.
Icon
Type: Icon
Returns/Sets the icon seen in the tray.
Others not worth pointing out explicitly :)